package service;

import java.util.HashMap;
import java.util.List;

import domain.Goods;
import domain.Order;
import domain.OrderList;
import domain.Zkl;

public interface Ser {
	public Goods getOneGoodsInfo(String txm);
	
	public HashMap<Integer, Float> getAllZk();
	
	public int addOrder(Order order	);
	
	public void updateGoods(Goods goods);
	
	public void updateOrder(Order order);
	
	public void addOrderList(OrderList orderList);
	
	public List<Zkl> getAllZkls();
	
	public int addZkl(Zkl zkl);
	
	public void updateZkl(Zkl zkl);
	
	public void addGoods(Goods goods);
	
	public List<Order> getOneMonthOrders(String date1,String date2);
	
	public List<Order> getTwntyOrders(int page);
	
	public long getOrdersCount();
	
	public List<OrderList> getOneOrderList(int order);
	
	public void getPreMonthNumber(String txm);
	
	public void caculatePreMonth();
	
	public int countGoods();
	
	public List<Goods> getTwntyGoods(int page);
}
